Gauge for WinRT
C1LinearGauge Decorators Location

Decorators are positioned with the C1LinearGauge control compared to the C1RadialGauge control. Recall that the C1RadialGauge control has a C1RadialGauge.Radius property that determines how far from the center of the gauge that decorators are displayed. The C1RadialGauge.Radius property ranges from zero (center of the gauge) to one (outer edge of the gauge). Individual decorators are offset from the C1RadialGauge.Radius by an amount specified by the Location property.

The C1LinearGauge has a C1LinearGauge.YAxisLocation property that is analogous to C1RadialGauge.Radius. This property ranges from zero (top of the gauge) to one (bottom of the gauge). Individual decorators are offset from the C1LinearGauge.YAxisLocation by an amount specified by their C1GaugeDecorator.Location property.

The default value for the C1LinearGauge.YAxisLocation property is zero. The default value for the C1GaugeDecorator.Location of the C1GaugeMark decorators is one (causing these elements to appear at the bottom of the gauge by default). The default value for the C1GaugeDecorator.Location property of the C1GaugeRange decorator is zero (causing it to appear at the top of the gauge by default).

See Also

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback